Procedures in Object-Oriented Query Languages
نویسندگان
چکیده
We follow the stack-baaed approach to query languages which is a new formal and intellectual paradigm for integrating querying and programming for object-oriented databases. Queries are considered generalized programing expressions which may be used within macroscopic imperative statements, such as creating, updating, inserting, and deleting data objects. Queries may be also used as procedures’ parameters, as well as determine the output from functional procedures (SQL-like views). The semantics, including generalized query operators (selection, projection, navigation, join, quantifiers, etc.), is defined in terms of operations on two stacks. The environment stack deals with the scope control and binding names. The result stack stores intermediate and final query results. We discuss definitions of object-oriented concepts and present variants of parameter passing methods. Finally, we indicate a potential of the approach for query optimization based on rewriting.
منابع مشابه
Stack-Based Architecture and Stack-Based Query Language
Stack-Based Query Language (SBQL) is a model query and programming language for a wide family of object-oriented database models. SBQL is the result of investigations into a uniform theoretical and conceptual basis for object-oriented query languages integrated with programming capabilities and abstractions, including database abstractions: updatable views, stored procedures and transactions. S...
متن کاملObject-oriented query language design and processing
ii Abstract This thesis proposes an object-oriented query language that is more powerful than many existing query languages. The language is formally speciied and its expressive power is demonstrated by giving four translation schemes from other prominent object-oriented query languages. Further, this query language can be supported by a query algebra and both the query language and query algeb...
متن کاملUpdateable Views for an XML Query Language
We present an approach to updateable XML views, which is based on the Stack-Based Approach to query languages. Its novelty consists in introducing procedures overloading generic updating operations on virtual objects into a view definition. This overloading is implicit and users update virtual objects like stored objects. Due to procedures we support full algorithmic power of view definitions, ...
متن کاملQuery Optimization in Object Oriented Databases through Detecting Independent Subqueries
Query optimization is the refining process in database administration and it helps to bring down speed of execution. Some object-oriented languages allows to express queries explicitly in the code, which are optimized using the query optimization techniques from the database domain. With respect to this, a formalized object query language (OQL) has been developed that performs optimization of q...
متن کاملAn overview of the object-oriented database programming language DBPQL
In this paper, we present a new approach to the integration of object-oriented programming languages, database programming languages and query languages. While object-oriented programming languages and languages that are supported by object database systems appear to be closely related, there are a number of significant differences that affect language design and implementation. Such issues inc...
متن کامل